@extends('system.frame_layout')
<?php $parent_menu = "财务中心"; $menu_selected = "奖金记录";?>

@section('content')
    <div id="content-panel">
        <div class="row">
            <div class="col-xs-12">
                <div class="portlet light bordered">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-social-dribbble font-dark hide"></i>
                            <span class="caption-subject font-dark bold">会员奖金记录 User Bonus Logs</span>
                        </div>
                    </div>
                    <div class="portlet-body">
                        <table class="table table-hover table-responsive">
                            <thead>
                            <tr>
                                <th>No 编号</th>
                                <th>Name 奖金名称</th>
                                <th>Money 奖金数额</th>
                                <th>Tax 扣除税收</th>
                                <th>Final 实际奖金</th>
                                <th>Node 节点深度</th>
                                <th>Spread 推荐深度</th>
                                <th>Time 产生时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            @foreach($bonus as $log)
                                <tr>
                                    <td>{{$log->no}}</td>
                                    <td>{{$log->name}}</td>
                                    <td>{{$log->money_real}}</td>
                                    <td>{{$log->money_tax}}</td>
                                    <td>{{$log->money}}</td>
                                    <td>{{$log->ndepth}}</td>
                                    <td>{{$log->pdepth}}</td>
                                    <td>{{date('Y-m-d H:i:s',$log)}}</td>
                                </tr>
                            @endforeach
                            </tbody>
                        </table>
                        @include('system.coms.fenye')
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('footer')
@endsection